﻿using System;
namespace mesoBoard.Services
{
    interface IForums
    {
        bool CanCastVote(int forumID, int userID);
        bool CanCreateAttachment(int forumID, int userID);
        bool CanCreatePoll(int forumID, int userID);
        bool CanCreateThread(int forumID, int userID);
        bool CanDownloadAttachment(int forumID, int userID);
        bool CanLock(int forumID, int userID);
        bool CanReply(int forumID, int userID);
        bool CanView(int forumID, int userID);
        void ChangeCategoryOrder(int categoryID, int direction);
        void ChangeForumOrder(int forumID, int categoryID, int direction);
        System.Collections.Generic.IEnumerable<mesoBoard.Data.Forum> GetForumsByCategory(int categoryID);
        int GetPermissionValue(int forumID, int userID, string Action);
        System.Collections.Generic.IEnumerable<mesoBoard.Data.Category> GetViewableCategories(int userID);
        System.Collections.Generic.IEnumerable<mesoBoard.Data.Forum> GetViewableForums(int userID);
        bool HasNewPost(int forumID, int userID);
    }
}
